package com.ruoyi.management.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MedReminderRecordExample {
    /**
     * t_med_reminder_record
     */
    protected String orderByClause;

    /**
     * t_med_reminder_record
     */
    protected boolean distinct;

    /**
     * t_med_reminder_record
     */
    protected List<Criteria> oredCriteria;

    public MedReminderRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * t_med_reminder_record 2021-06-27
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Time> timeList = new ArrayList<java.sql.Time>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                timeList.add(new java.sql.Time(iter.next().getTime()));
            }
            addCriterion(condition, timeList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDrugNameIsNull() {
            addCriterion("drug_name is null");
            return (Criteria) this;
        }

        public Criteria andDrugNameIsNotNull() {
            addCriterion("drug_name is not null");
            return (Criteria) this;
        }

        public Criteria andDrugNameEqualTo(String value) {
            addCriterion("drug_name =", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameNotEqualTo(String value) {
            addCriterion("drug_name <>", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameGreaterThan(String value) {
            addCriterion("drug_name >", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameGreaterThanOrEqualTo(String value) {
            addCriterion("drug_name >=", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameLessThan(String value) {
            addCriterion("drug_name <", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameLessThanOrEqualTo(String value) {
            addCriterion("drug_name <=", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameLike(String value) {
            addCriterion("drug_name like", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameNotLike(String value) {
            addCriterion("drug_name not like", value, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameIn(List<String> values) {
            addCriterion("drug_name in", values, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameNotIn(List<String> values) {
            addCriterion("drug_name not in", values, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameBetween(String value1, String value2) {
            addCriterion("drug_name between", value1, value2, "drugName");
            return (Criteria) this;
        }

        public Criteria andDrugNameNotBetween(String value1, String value2) {
            addCriterion("drug_name not between", value1, value2, "drugName");
            return (Criteria) this;
        }

        public Criteria andImgPhoneIsNull() {
            addCriterion("img_phone is null");
            return (Criteria) this;
        }

        public Criteria andImgPhoneIsNotNull() {
            addCriterion("img_phone is not null");
            return (Criteria) this;
        }

        public Criteria andImgPhoneEqualTo(String value) {
            addCriterion("img_phone =", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneNotEqualTo(String value) {
            addCriterion("img_phone <>", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneGreaterThan(String value) {
            addCriterion("img_phone >", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("img_phone >=", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneLessThan(String value) {
            addCriterion("img_phone <", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneLessThanOrEqualTo(String value) {
            addCriterion("img_phone <=", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneLike(String value) {
            addCriterion("img_phone like", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneNotLike(String value) {
            addCriterion("img_phone not like", value, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneIn(List<String> values) {
            addCriterion("img_phone in", values, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneNotIn(List<String> values) {
            addCriterion("img_phone not in", values, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneBetween(String value1, String value2) {
            addCriterion("img_phone between", value1, value2, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andImgPhoneNotBetween(String value1, String value2) {
            addCriterion("img_phone not between", value1, value2, "imgPhone");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNull() {
            addCriterion("start_date is null");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNotNull() {
            addCriterion("start_date is not null");
            return (Criteria) this;
        }

        public Criteria andStartDateEqualTo(Date value) {
            addCriterionForJDBCDate("start_date =", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("start_date <>", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThan(Date value) {
            addCriterionForJDBCDate("start_date >", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("start_date >=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThan(Date value) {
            addCriterionForJDBCDate("start_date <", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("start_date <=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateIn(List<Date> values) {
            addCriterionForJDBCDate("start_date in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("start_date not in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("start_date between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("start_date not between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("end_date is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("end_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(Date value) {
            addCriterionForJDBCDate("end_date =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("end_date <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(Date value) {
            addCriterionForJDBCDate("end_date >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("end_date >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(Date value) {
            addCriterionForJDBCDate("end_date <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("end_date <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<Date> values) {
            addCriterionForJDBCDate("end_date in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("end_date not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("end_date between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("end_date not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateorIdIsNull() {
            addCriterion("createor_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateorIdIsNotNull() {
            addCriterion("createor_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateorIdEqualTo(Integer value) {
            addCriterion("createor_id =", value, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdNotEqualTo(Integer value) {
            addCriterion("createor_id <>", value, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdGreaterThan(Integer value) {
            addCriterion("createor_id >", value, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("createor_id >=", value, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdLessThan(Integer value) {
            addCriterion("createor_id <", value, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdLessThanOrEqualTo(Integer value) {
            addCriterion("createor_id <=", value, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdIn(List<Integer> values) {
            addCriterion("createor_id in", values, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdNotIn(List<Integer> values) {
            addCriterion("createor_id not in", values, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdBetween(Integer value1, Integer value2) {
            addCriterion("createor_id between", value1, value2, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("createor_id not between", value1, value2, "createorId");
            return (Criteria) this;
        }

        public Criteria andCreateorNameIsNull() {
            addCriterion("createor_name is null");
            return (Criteria) this;
        }

        public Criteria andCreateorNameIsNotNull() {
            addCriterion("createor_name is not null");
            return (Criteria) this;
        }

        public Criteria andCreateorNameEqualTo(String value) {
            addCriterion("createor_name =", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameNotEqualTo(String value) {
            addCriterion("createor_name <>", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameGreaterThan(String value) {
            addCriterion("createor_name >", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameGreaterThanOrEqualTo(String value) {
            addCriterion("createor_name >=", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameLessThan(String value) {
            addCriterion("createor_name <", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameLessThanOrEqualTo(String value) {
            addCriterion("createor_name <=", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameLike(String value) {
            addCriterion("createor_name like", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameNotLike(String value) {
            addCriterion("createor_name not like", value, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameIn(List<String> values) {
            addCriterion("createor_name in", values, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameNotIn(List<String> values) {
            addCriterion("createor_name not in", values, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameBetween(String value1, String value2) {
            addCriterion("createor_name between", value1, value2, "createorName");
            return (Criteria) this;
        }

        public Criteria andCreateorNameNotBetween(String value1, String value2) {
            addCriterion("createor_name not between", value1, value2, "createorName");
            return (Criteria) this;
        }

        public Criteria andSnIsNull() {
            addCriterion("sn is null");
            return (Criteria) this;
        }

        public Criteria andSnIsNotNull() {
            addCriterion("sn is not null");
            return (Criteria) this;
        }

        public Criteria andSnEqualTo(String value) {
            addCriterion("sn =", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnNotEqualTo(String value) {
            addCriterion("sn <>", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnGreaterThan(String value) {
            addCriterion("sn >", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnGreaterThanOrEqualTo(String value) {
            addCriterion("sn >=", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnLessThan(String value) {
            addCriterion("sn <", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnLessThanOrEqualTo(String value) {
            addCriterion("sn <=", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnLike(String value) {
            addCriterion("sn like", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnNotLike(String value) {
            addCriterion("sn not like", value, "sn");
            return (Criteria) this;
        }

        public Criteria andSnIn(List<String> values) {
            addCriterion("sn in", values, "sn");
            return (Criteria) this;
        }

        public Criteria andSnNotIn(List<String> values) {
            addCriterion("sn not in", values, "sn");
            return (Criteria) this;
        }

        public Criteria andSnBetween(String value1, String value2) {
            addCriterion("sn between", value1, value2, "sn");
            return (Criteria) this;
        }

        public Criteria andSnNotBetween(String value1, String value2) {
            addCriterion("sn not between", value1, value2, "sn");
            return (Criteria) this;
        }

        public Criteria andLatticeIsNull() {
            addCriterion("lattice is null");
            return (Criteria) this;
        }

        public Criteria andLatticeIsNotNull() {
            addCriterion("lattice is not null");
            return (Criteria) this;
        }

        public Criteria andLatticeEqualTo(Integer value) {
            addCriterion("lattice =", value, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeNotEqualTo(Integer value) {
            addCriterion("lattice <>", value, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeGreaterThan(Integer value) {
            addCriterion("lattice >", value, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeGreaterThanOrEqualTo(Integer value) {
            addCriterion("lattice >=", value, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeLessThan(Integer value) {
            addCriterion("lattice <", value, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeLessThanOrEqualTo(Integer value) {
            addCriterion("lattice <=", value, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeIn(List<Integer> values) {
            addCriterion("lattice in", values, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeNotIn(List<Integer> values) {
            addCriterion("lattice not in", values, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeBetween(Integer value1, Integer value2) {
            addCriterion("lattice between", value1, value2, "lattice");
            return (Criteria) this;
        }

        public Criteria andLatticeNotBetween(Integer value1, Integer value2) {
            addCriterion("lattice not between", value1, value2, "lattice");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeIsNull() {
            addCriterion("execute_time is null");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeIsNotNull() {
            addCriterion("execute_time is not null");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeEqualTo(Date value) {
            addCriterionForJDBCDate("execute_time =", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("execute_time <>", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("execute_time >", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("execute_time >=", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeLessThan(Date value) {
            addCriterionForJDBCDate("execute_time <", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("execute_time <=", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeIn(List<Date> values) {
            addCriterionForJDBCDate("execute_time in", values, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("execute_time not in", values, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("execute_time between", value1, value2, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("execute_time not between", value1, value2, "executeTime");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeValueIsNull() {
            addCriterion("type_value is null");
            return (Criteria) this;
        }

        public Criteria andTypeValueIsNotNull() {
            addCriterion("type_value is not null");
            return (Criteria) this;
        }

        public Criteria andTypeValueEqualTo(String value) {
            addCriterion("type_value =", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueNotEqualTo(String value) {
            addCriterion("type_value <>", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueGreaterThan(String value) {
            addCriterion("type_value >", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueGreaterThanOrEqualTo(String value) {
            addCriterion("type_value >=", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueLessThan(String value) {
            addCriterion("type_value <", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueLessThanOrEqualTo(String value) {
            addCriterion("type_value <=", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueLike(String value) {
            addCriterion("type_value like", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueNotLike(String value) {
            addCriterion("type_value not like", value, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueIn(List<String> values) {
            addCriterion("type_value in", values, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueNotIn(List<String> values) {
            addCriterion("type_value not in", values, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueBetween(String value1, String value2) {
            addCriterion("type_value between", value1, value2, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTypeValueNotBetween(String value1, String value2) {
            addCriterion("type_value not between", value1, value2, "typeValue");
            return (Criteria) this;
        }

        public Criteria andTime1IsNull() {
            addCriterion("time1 is null");
            return (Criteria) this;
        }

        public Criteria andTime1IsNotNull() {
            addCriterion("time1 is not null");
            return (Criteria) this;
        }

        public Criteria andTime1EqualTo(Date value) {
            addCriterionForJDBCTime("time1 =", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1NotEqualTo(Date value) {
            addCriterionForJDBCTime("time1 <>", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1GreaterThan(Date value) {
            addCriterionForJDBCTime("time1 >", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("time1 >=", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1LessThan(Date value) {
            addCriterionForJDBCTime("time1 <", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1LessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("time1 <=", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1In(List<Date> values) {
            addCriterionForJDBCTime("time1 in", values, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1NotIn(List<Date> values) {
            addCriterionForJDBCTime("time1 not in", values, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1Between(Date value1, Date value2) {
            addCriterionForJDBCTime("time1 between", value1, value2, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1NotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("time1 not between", value1, value2, "time1");
            return (Criteria) this;
        }

        public Criteria andDose1IsNull() {
            addCriterion("dose1 is null");
            return (Criteria) this;
        }

        public Criteria andDose1IsNotNull() {
            addCriterion("dose1 is not null");
            return (Criteria) this;
        }

        public Criteria andDose1EqualTo(Integer value) {
            addCriterion("dose1 =", value, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1NotEqualTo(Integer value) {
            addCriterion("dose1 <>", value, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1GreaterThan(Integer value) {
            addCriterion("dose1 >", value, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1GreaterThanOrEqualTo(Integer value) {
            addCriterion("dose1 >=", value, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1LessThan(Integer value) {
            addCriterion("dose1 <", value, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1LessThanOrEqualTo(Integer value) {
            addCriterion("dose1 <=", value, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1In(List<Integer> values) {
            addCriterion("dose1 in", values, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1NotIn(List<Integer> values) {
            addCriterion("dose1 not in", values, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1Between(Integer value1, Integer value2) {
            addCriterion("dose1 between", value1, value2, "dose1");
            return (Criteria) this;
        }

        public Criteria andDose1NotBetween(Integer value1, Integer value2) {
            addCriterion("dose1 not between", value1, value2, "dose1");
            return (Criteria) this;
        }

        public Criteria andStatus1IsNull() {
            addCriterion("status1 is null");
            return (Criteria) this;
        }

        public Criteria andStatus1IsNotNull() {
            addCriterion("status1 is not null");
            return (Criteria) this;
        }

        public Criteria andStatus1EqualTo(Integer value) {
            addCriterion("status1 =", value, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1NotEqualTo(Integer value) {
            addCriterion("status1 <>", value, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1GreaterThan(Integer value) {
            addCriterion("status1 >", value, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1GreaterThanOrEqualTo(Integer value) {
            addCriterion("status1 >=", value, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1LessThan(Integer value) {
            addCriterion("status1 <", value, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1LessThanOrEqualTo(Integer value) {
            addCriterion("status1 <=", value, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1In(List<Integer> values) {
            addCriterion("status1 in", values, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1NotIn(List<Integer> values) {
            addCriterion("status1 not in", values, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1Between(Integer value1, Integer value2) {
            addCriterion("status1 between", value1, value2, "status1");
            return (Criteria) this;
        }

        public Criteria andStatus1NotBetween(Integer value1, Integer value2) {
            addCriterion("status1 not between", value1, value2, "status1");
            return (Criteria) this;
        }

        public Criteria andTime2IsNull() {
            addCriterion("time2 is null");
            return (Criteria) this;
        }

        public Criteria andTime2IsNotNull() {
            addCriterion("time2 is not null");
            return (Criteria) this;
        }

        public Criteria andTime2EqualTo(Date value) {
            addCriterionForJDBCTime("time2 =", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2NotEqualTo(Date value) {
            addCriterionForJDBCTime("time2 <>", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2GreaterThan(Date value) {
            addCriterionForJDBCTime("time2 >", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("time2 >=", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2LessThan(Date value) {
            addCriterionForJDBCTime("time2 <", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2LessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("time2 <=", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2In(List<Date> values) {
            addCriterionForJDBCTime("time2 in", values, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2NotIn(List<Date> values) {
            addCriterionForJDBCTime("time2 not in", values, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2Between(Date value1, Date value2) {
            addCriterionForJDBCTime("time2 between", value1, value2, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2NotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("time2 not between", value1, value2, "time2");
            return (Criteria) this;
        }

        public Criteria andDose2IsNull() {
            addCriterion("dose2 is null");
            return (Criteria) this;
        }

        public Criteria andDose2IsNotNull() {
            addCriterion("dose2 is not null");
            return (Criteria) this;
        }

        public Criteria andDose2EqualTo(Integer value) {
            addCriterion("dose2 =", value, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2NotEqualTo(Integer value) {
            addCriterion("dose2 <>", value, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2GreaterThan(Integer value) {
            addCriterion("dose2 >", value, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2GreaterThanOrEqualTo(Integer value) {
            addCriterion("dose2 >=", value, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2LessThan(Integer value) {
            addCriterion("dose2 <", value, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2LessThanOrEqualTo(Integer value) {
            addCriterion("dose2 <=", value, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2In(List<Integer> values) {
            addCriterion("dose2 in", values, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2NotIn(List<Integer> values) {
            addCriterion("dose2 not in", values, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2Between(Integer value1, Integer value2) {
            addCriterion("dose2 between", value1, value2, "dose2");
            return (Criteria) this;
        }

        public Criteria andDose2NotBetween(Integer value1, Integer value2) {
            addCriterion("dose2 not between", value1, value2, "dose2");
            return (Criteria) this;
        }

        public Criteria andStatus2IsNull() {
            addCriterion("status2 is null");
            return (Criteria) this;
        }

        public Criteria andStatus2IsNotNull() {
            addCriterion("status2 is not null");
            return (Criteria) this;
        }

        public Criteria andStatus2EqualTo(Integer value) {
            addCriterion("status2 =", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotEqualTo(Integer value) {
            addCriterion("status2 <>", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2GreaterThan(Integer value) {
            addCriterion("status2 >", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2GreaterThanOrEqualTo(Integer value) {
            addCriterion("status2 >=", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2LessThan(Integer value) {
            addCriterion("status2 <", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2LessThanOrEqualTo(Integer value) {
            addCriterion("status2 <=", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2In(List<Integer> values) {
            addCriterion("status2 in", values, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotIn(List<Integer> values) {
            addCriterion("status2 not in", values, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2Between(Integer value1, Integer value2) {
            addCriterion("status2 between", value1, value2, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotBetween(Integer value1, Integer value2) {
            addCriterion("status2 not between", value1, value2, "status2");
            return (Criteria) this;
        }

        public Criteria andTime3IsNull() {
            addCriterion("time3 is null");
            return (Criteria) this;
        }

        public Criteria andTime3IsNotNull() {
            addCriterion("time3 is not null");
            return (Criteria) this;
        }

        public Criteria andTime3EqualTo(Date value) {
            addCriterionForJDBCTime("time3 =", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3NotEqualTo(Date value) {
            addCriterionForJDBCTime("time3 <>", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3GreaterThan(Date value) {
            addCriterionForJDBCTime("time3 >", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("time3 >=", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3LessThan(Date value) {
            addCriterionForJDBCTime("time3 <", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3LessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("time3 <=", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3In(List<Date> values) {
            addCriterionForJDBCTime("time3 in", values, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3NotIn(List<Date> values) {
            addCriterionForJDBCTime("time3 not in", values, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3Between(Date value1, Date value2) {
            addCriterionForJDBCTime("time3 between", value1, value2, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3NotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("time3 not between", value1, value2, "time3");
            return (Criteria) this;
        }

        public Criteria andDose3IsNull() {
            addCriterion("dose3 is null");
            return (Criteria) this;
        }

        public Criteria andDose3IsNotNull() {
            addCriterion("dose3 is not null");
            return (Criteria) this;
        }

        public Criteria andDose3EqualTo(Integer value) {
            addCriterion("dose3 =", value, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3NotEqualTo(Integer value) {
            addCriterion("dose3 <>", value, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3GreaterThan(Integer value) {
            addCriterion("dose3 >", value, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3GreaterThanOrEqualTo(Integer value) {
            addCriterion("dose3 >=", value, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3LessThan(Integer value) {
            addCriterion("dose3 <", value, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3LessThanOrEqualTo(Integer value) {
            addCriterion("dose3 <=", value, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3In(List<Integer> values) {
            addCriterion("dose3 in", values, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3NotIn(List<Integer> values) {
            addCriterion("dose3 not in", values, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3Between(Integer value1, Integer value2) {
            addCriterion("dose3 between", value1, value2, "dose3");
            return (Criteria) this;
        }

        public Criteria andDose3NotBetween(Integer value1, Integer value2) {
            addCriterion("dose3 not between", value1, value2, "dose3");
            return (Criteria) this;
        }

        public Criteria andStatus3IsNull() {
            addCriterion("status3 is null");
            return (Criteria) this;
        }

        public Criteria andStatus3IsNotNull() {
            addCriterion("status3 is not null");
            return (Criteria) this;
        }

        public Criteria andStatus3EqualTo(Integer value) {
            addCriterion("status3 =", value, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3NotEqualTo(Integer value) {
            addCriterion("status3 <>", value, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3GreaterThan(Integer value) {
            addCriterion("status3 >", value, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3GreaterThanOrEqualTo(Integer value) {
            addCriterion("status3 >=", value, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3LessThan(Integer value) {
            addCriterion("status3 <", value, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3LessThanOrEqualTo(Integer value) {
            addCriterion("status3 <=", value, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3In(List<Integer> values) {
            addCriterion("status3 in", values, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3NotIn(List<Integer> values) {
            addCriterion("status3 not in", values, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3Between(Integer value1, Integer value2) {
            addCriterion("status3 between", value1, value2, "status3");
            return (Criteria) this;
        }

        public Criteria andStatus3NotBetween(Integer value1, Integer value2) {
            addCriterion("status3 not between", value1, value2, "status3");
            return (Criteria) this;
        }

        public Criteria andTypeContentIsNull() {
            addCriterion("type_content is null");
            return (Criteria) this;
        }

        public Criteria andTypeContentIsNotNull() {
            addCriterion("type_content is not null");
            return (Criteria) this;
        }

        public Criteria andTypeContentEqualTo(String value) {
            addCriterion("type_content =", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentNotEqualTo(String value) {
            addCriterion("type_content <>", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentGreaterThan(String value) {
            addCriterion("type_content >", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentGreaterThanOrEqualTo(String value) {
            addCriterion("type_content >=", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentLessThan(String value) {
            addCriterion("type_content <", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentLessThanOrEqualTo(String value) {
            addCriterion("type_content <=", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentLike(String value) {
            addCriterion("type_content like", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentNotLike(String value) {
            addCriterion("type_content not like", value, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentIn(List<String> values) {
            addCriterion("type_content in", values, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentNotIn(List<String> values) {
            addCriterion("type_content not in", values, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentBetween(String value1, String value2) {
            addCriterion("type_content between", value1, value2, "typeContent");
            return (Criteria) this;
        }

        public Criteria andTypeContentNotBetween(String value1, String value2) {
            addCriterion("type_content not between", value1, value2, "typeContent");
            return (Criteria) this;
        }
    }

    /**
     * t_med_reminder_record
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * t_med_reminder_record 2021-06-27
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}